package com.zhoudb.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description:前台页面跳转
 * @Author: zhoudb
 * @Date: 2018-10-13 21:26
 */
@Controller
@RequestMapping("/fore")
public class ForeController {

    /**
     *功能描述:跳转到前台首页
     * @author zhoudb
     * @date 2018/8/15 11:24
     * @param
     * @return
     */
    @RequestMapping("/home")
    public String home(){
        return "index";
    }


    /**
     *功能描述:跳转到文章页面
     * @author zhoudb
     * @date 2018/8/15 11:24
     * @param
     * @return
     */
    @RequestMapping("/toArticle")
    public String toArticle(){
        return "fore/article";
    }

    /**
     *功能描述:跳转到博客页面
     * @author zhoudb
     * @date 2018/8/15 11:24
     * @param
     * @return
     */
    @RequestMapping("/toBlog")
    public String toBlog(){
        return "fore/blog";
    }

    /**
     *功能描述:跳转到介绍页面
     * @author zhoudb
     * @date 2018/8/15 11:24
     * @param
     * @return
     */
    @RequestMapping("/toAbout")
    public String toAbout(){
        return "fore/about";
    }

    /**
     *功能描述:跳转到简历页面
     * @author zhoudb
     * @date 2018/8/15 11:24
     * @param
     * @return
     */
    @RequestMapping("/toResume")
    public String toResume(){
        return "fore/resume";
    }

}
